import { Column, Entity, PrimaryGeneratedColumn, BaseEntity, CreateDateColumn, UpdateDateColumn, DeleteDateColumn } from 'typeorm';
@Entity('erp_warehouse')
export class Warehouse extends BaseEntity {
    @PrimaryGeneratedColumn()
    id: number;
    @Column()
    name: string;
    @Column()
    code: string;
    @Column('int')
    personId: string;
    @Column()
    position: string;
    @Column()
    remark: string;
    @DeleteDateColumn({ nullable: true }) // TypeORM 内置软删除字段
    deletedTime: Date;
}
